package de.dpunkt.myaktion.service;

import java.io.Serializable;

import javax.enterprise.context.ApplicationScoped;

@ApplicationScoped
public class IdServiceBean implements IdService, Serializable {

	private static final long serialVersionUID = 7426333223362223639L;

	private long id = 0L;
	
	@Override
	public Long nextId() {
		return ++id;
	}
}
